package uk.co.q3c.deplan.client.ui.view;

/**
 * Instantiates views. GWT requires that GWT.create is only used in client code
 * - using this interface is part of the structure needed to allow the use of a
 * mock version to assist testing.
 * 
 * @see ViewCreatorGWT
 * @author David Sowerby 8 May 2010
 * 
 */
public interface ViewCreator {

	abstract Q3CoreView createView(Viewtags viewTag);

	abstract void newHistoryItem(String tokenAsString, boolean issueEvent);

}
